import {createRoot} from 'react-dom/client'
import './index.css'
// 导入Provider，导入src/store中的store值
import {Provider} from "react-redux";
import store from "./store";
import {RouterProvider} from "react-router-dom";

// 1.导入路由router
import router from "/src/router/router.jsx";

createRoot(document.getElementById('root')).render(

        <Provider store={store}>
            <RouterProvider router={router}/>
        </Provider>

)